﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.Design.WebControls;
using System.Web.UI.Design;

namespace Org.Eurekaa.DNJ.UI.Design.WebControls
{
    public class JQueryUIControlDesigner : CompositeControlDesigner
    {
        public override string GetDesignTimeHtml()
        {
            IWebApplication webApplication =
                    (IWebApplication)this.GetService(typeof(IWebApplication));
            
            DNJ.http.DNJHttpHelper.RegisterInComponent(webApplication, true, false);

            return base.GetDesignTimeHtml();
        }
    }
}
